package roborally.script.singleCondition;

import roborally.model.Robot;
import roborally.script.SingleCondition;
import be.kuleuven.cs.som.annotate.*;
import be.kuleuven.cs.som.taglet.*;

/**
 * @author Joren VERSPEURT
 * @author Mathieu REYMOND
 * @version 3.0
 * 
 * The class representing a True statement in the RoboRally script language.
 */
public class True extends SingleCondition {

	/**
	 * Create a new CanHitRobot condition with a given Robot.
	 * @param robot The Robot this CanHitRobot condition will apply to.
	 */
	public True(Robot robot) {
		super(robot);
	}

	/**
	 * This Condition is always true.
	 */
	@Override
	public final boolean isTrue() {
		return true;
	}
	
	/**
	 * The script word for this condition.
	 */
	@Override
	public String toString(){
		return "true";
	}

}
